﻿<navigation:Page x:Class="Sanctuary.GameDialog" 
           xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
           xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
           xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
           xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
           mc:Ignorable="d"
           xmlns:navigation="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Navigation"
           d:DesignWidth="640" d:DesignHeight="480"
           Title="GameDialog Page">
    <Grid x:Name="LayoutRoot" Background="Transparent">
        <Image Name="background" Stretch="Fill">
            <Image.RenderTransform>
                <TransformGroup>
                    <TranslateTransform x:Name="backgroundImageTranslateTransform" />
                    <ScaleTransform x:Name="backgroundImageScaleTransform" />
                </TransformGroup>
            </Image.RenderTransform>
        </Image>
        <Grid Background="Transparent">
            <Image Name="leftImage" RenderTransformOrigin="0.5,0.5" HorizontalAlignment="Left">
                <Image.RenderTransform>
                    <TransformGroup>
                        <TranslateTransform x:Name="leftImageTranslateTransform" />
                        <ScaleTransform x:Name="leftImageScaleTransform" />
                    </TransformGroup>
                </Image.RenderTransform>
            </Image>
            <Image Name="centerImage" RenderTransformOrigin="0.5,0.5" HorizontalAlignment="Center" >
                <Image.RenderTransform>
                    <TransformGroup>
                        <TranslateTransform x:Name="centerImageTranslateTransform" />
                        <ScaleTransform x:Name="centerImageScaleTransform" />
                    </TransformGroup>
                </Image.RenderTransform>
            </Image>
            <Image Name="rightImage" RenderTransformOrigin="0.5,0.5" HorizontalAlignment="Right" >
                <Image.RenderTransform>
                    <TransformGroup>
                        <TranslateTransform x:Name="rightImageTranslateTransform" />
                        <ScaleTransform x:Name="rightImageScaleTransform" />
                    </TransformGroup>
                </Image.RenderTransform>
            </Image>
        </Grid>
        <Grid VerticalAlignment="Bottom">
            <Grid.RowDefinitions>
                <RowDefinition/>
                <RowDefinition/>
            </Grid.RowDefinitions>
            <Border BorderThickness="3" Height="40" VerticalAlignment="Bottom" Grid.Row="0" CornerRadius="5" Opacity=".75" Name="borderName">
                <Border.BorderBrush>
                    <LinearGradientBrush StartPoint="0,0" EndPoint="0,1">
                        <GradientStop Color="Thistle" Offset="0" />
                        <GradientStop Color="Purple" Offset="0.75" />
                    </LinearGradientBrush>
                </Border.BorderBrush>
                <Border.Background>
                    <LinearGradientBrush StartPoint="0,0" EndPoint="0,1">
                        <GradientStop Color="LavenderBlush" Offset=".25" />
                        <GradientStop Color="Lavender" Offset=".75" />
                    </LinearGradientBrush>
                </Border.Background>

                <TextBlock Name="textBlockName" FontSize="24" Foreground="Purple" Margin="15, 5, 5. 5" FontFamily="Georgia">
                    <TextBlock.Text>Test</TextBlock.Text>
                    <TextBlock.Effect>
                        <DropShadowEffect  ShadowDepth="4" Direction="330"  Color="Gray"  Opacity="0.75"  BlurRadius="4"/>
                    </TextBlock.Effect>
                </TextBlock>
            </Border>
            <Border BorderThickness="3" Height="200" VerticalAlignment="Bottom" CornerRadius="5" Grid.Row="1" Opacity=".75" Name="borderDialog" MouseLeftButtonDown="borderDialog_MouseLeftButtonDown">
                <Border.BorderBrush>
                    <LinearGradientBrush StartPoint="0,0" EndPoint="0,1">
                        <GradientStop Color="Thistle" Offset="0" />
                        <GradientStop Color="Purple" Offset="0.75" />
                    </LinearGradientBrush>
                </Border.BorderBrush>
                <Border.Background>
                    <LinearGradientBrush StartPoint="0,0" EndPoint="0,1">
                        <GradientStop Color="LavenderBlush" Offset=".25" />
                        <GradientStop Color="Lavender" Offset=".75" />
                    </LinearGradientBrush>
                </Border.Background>

                <TextBlock Name="textBlockText" FontSize="24" Foreground="Purple" Margin="15" FontFamily="Georgia">
                    <TextBlock.Text>Test</TextBlock.Text>
                    <TextBlock.Effect>
                        <DropShadowEffect  ShadowDepth="4" Direction="330"  Color="Gray"  Opacity="0.75"  BlurRadius="4"/>
                    </TextBlock.Effect>
                </TextBlock>
            </Border>
        </Grid>
    </Grid>
</navigation:Page>
